﻿using Abp.Domain.Entities;
using System;
using System.ComponentModel.DataAnnotations;

namespace Batman.Jianbei.Forum.Core.Domains.Dicts
{
    /// <summary>
    /// 分区
    /// </summary>
    public class Partition : Entity<string>
    {
        /// <summary>
        /// 规范化名称
        /// </summary>
        [Required]
        [MaxLength(128)]
        public string NormalizedName { get; set; }

        /// <summary>
        /// 别名
        /// </summary>
        [Required]
        [MaxLength(128)]
        public string Name { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        public int Sort { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDeleted { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateAt { get; set; }
    }
}
